package com.qunji.cpsdistribution.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author sjq
 * @since 2020-07-23
 */
public class MerchantEnter extends Model<MerchantEnter> {

    private static final long serialVersionUID = 1L;

    /**
     * id编号
     */
    @TableId(value = "merchant_enter_id", type = IdType.AUTO)
    private Long merchantEnterId;
    /**
     * 商家入住时间
     */
    private String createtime;
    /**
     * 入住商家名称
     */
    private String merchantEnterName;
    /**
     * 入住商家信息
     */
    private String merchantEnterMsg;
    /**
     * 退出时间
     */
    private Date exittime;
    /**
     * 证件照
     */
    private String merchantPhoto;
    /**
     * 商家入住编号
     */
    private String merchantNumber;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 规范id
     */
    private Long guidanceId;
    /**
     * 注销id
     */
    private Long unsubscribeId;


    public Long getMerchantEnterId() {
        return merchantEnterId;
    }

    public void setMerchantEnterId(Long merchantEnterId) {
        this.merchantEnterId = merchantEnterId;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getMerchantEnterName() {
        return merchantEnterName;
    }

    public void setMerchantEnterName(String merchantEnterName) {
        this.merchantEnterName = merchantEnterName;
    }

    public String getMerchantEnterMsg() {
        return merchantEnterMsg;
    }

    public void setMerchantEnterMsg(String merchantEnterMsg) {
        this.merchantEnterMsg = merchantEnterMsg;
    }

    public Date getExittime() {
        return exittime;
    }

    public void setExittime(Date exittime) {
        this.exittime = exittime;
    }

    public String getMerchantPhoto() {
        return merchantPhoto;
    }

    public void setMerchantPhoto(String merchantPhoto) {
        this.merchantPhoto = merchantPhoto;
    }

    public String getMerchantNumber() {
        return merchantNumber;
    }

    public void setMerchantNumber(String merchantNumber) {
        this.merchantNumber = merchantNumber;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getGuidanceId() {
        return guidanceId;
    }

    public void setGuidanceId(Long guidanceId) {
        this.guidanceId = guidanceId;
    }

    public Long getUnsubscribeId() {
        return unsubscribeId;
    }

    public void setUnsubscribeId(Long unsubscribeId) {
        this.unsubscribeId = unsubscribeId;
    }

    @Override
    protected Serializable pkVal() {
        return this.merchantEnterId;
    }

    @Override
    public String toString() {
        return "MerchantEnter{" +
        ", merchantEnterId=" + merchantEnterId +
        ", createtime=" + createtime +
        ", merchantEnterName=" + merchantEnterName +
        ", merchantEnterMsg=" + merchantEnterMsg +
        ", exittime=" + exittime +
        ", merchantPhoto=" + merchantPhoto +
        ", merchantNumber=" + merchantNumber +
        ", userId=" + userId +
        ", guidanceId=" + guidanceId +
        ", unsubscribeId=" + unsubscribeId +
        "}";
    }
}
